bitkeeper revision 1.1145.1.1 (4112b3cd2EhCTP6gCuQGTMJlD8scmw)
authorkaf24@scramble.cl.cam.ac.uk <kaf24@scramble.cl.cam.ac.uk>
Thu, 5 Aug 2004 22:25:17 +0000 (22:25 +0000)
committerkaf24@scramble.cl.cam.ac.uk <kaf24@scramble.cl.cam.ac.uk>
Thu, 5 Aug 2004 22:25:17 +0000 (22:25 +0000)
Patches from Charles Coffing.

linux-2.4.26-xen-sparse/arch/xen/kernel/traps.c
linux-2.6.7-xen-sparse/arch/xen/i386/kernel/setup.c
linux-2.6.7-xen-sparse/arch/xen/i386/kernel/traps.c
linux-2.6.7-xen-sparse/arch/xen/kernel/evtchn.c

index 8e3523fd3c46a6d027864051f44e3ebc929cf18e..548941bc582a8bcbb6b986176fc706f0b5fbab8b 100644 (file)
@@ -449,8 +449,8 @@ void math_error(void *eip)
                default:
                        break;
                case 0x001: /* Invalid Op */
-               case 0x040: /* Stack Fault */
-               case 0x240: /* Stack Fault | Direction */
+               case 0x041: /* Stack Fault */
+               case 0x241: /* Stack Fault | Direction */
                        info.si_code = FPE_FLTINV;
                        break;
                case 0x002: /* Denormalize */
index 5845544046668581647c12f1bcf5306565abe4c4..c56431e79f154f1dcee8c5e151abfc1cf1789401 100644 (file)
@@ -137,8 +137,10 @@ static struct resource data_resource = { "Kernel data", 0, 0 };
  * page as soon as fixmap is up and running.
  */
 shared_info_t *HYPERVISOR_shared_info = (shared_info_t *)empty_zero_page;
+EXPORT_SYMBOL(HYPERVISOR_shared_info);
 
 unsigned long *phys_to_machine_mapping;
+EXPORT_SYMBOL(phys_to_machine_mapping);
 
 multicall_entry_t multicall_list[8];
 int nr_multicall_ents = 0;
index b60b3abfc4419f2f796b141f1c4829fd94942482..de4c9bee863c95c22fc566e192adbbea2b636f55 100644 (file)
@@ -722,8 +722,8 @@ void math_error(void *eip)
                default:
                        break;
                case 0x001: /* Invalid Op */
-               case 0x040: /* Stack Fault XXX? */
-               case 0x240: /* Stack Fault | Direction XXX? */
+               case 0x041: /* Stack Fault */
+               case 0x241: /* Stack Fault | Direction */
                        info.si_code = FPE_FLTINV;
                        /* Should we clear the SF or let user space do it ???? */
                        break;
index 7cb6652222d20c70f4ace72d2cee1e846a7c8a55..07791b40c3d93ce80577a1320f0ce6e1eeb7d7d6 100644 (file)
@@ -7,6 +7,7 @@
  */
 
 #include <linux/config.h>
+#include <linux/module.h>
 #include <linux/irq.h>
 #include <linux/interrupt.h>
 #include <linux/sched.h>
@@ -81,7 +82,7 @@ void evtchn_do_upcall(struct pt_regs *regs)
 
     local_irq_restore(flags);
 }
-
+EXPORT_SYMBOL(evtchn_do_upcall);
 
 static int find_unbound_irq(void)
 {